﻿package net.wangit.jdbc.type;

import net.wangit.jdbc.Type;
import net.wangit.util.StringUtil;

/**
 * 
 * Bigint类型
 * 
 * @author watson Feb 12, 2010
 */
@SuppressWarnings("serial")
public class BigintType extends AbstractType {
	public BigintType() {
	}

	public int code() {
		return Type.BIGINT;
	}

	public String getTypeName() {
		return "bigint";
	}

	public String formatInput(String value) {
		return StringUtil.clearSpace(value);
	}

	public String formatValue(String value) {
		return value;
	}
}
